Enhance python-tests to adapt different Python interpreters (bug#70815)
authorLin Sun <sunlin7@hotmail.com>
Fri, 3 May 2024 06:52:22 +0000 (06:52 +0000)
committerEli Zaretskii <eliz@gnu.org>
Thu, 23 May 2024 13:07:52 +0000 (16:07 +0300)
commita2ca5d01989cbe8d43f7763aa5ac374b49980c39
tree73ce4c005f9695d3afc41ae6ebe272a57b24263a
parentf75fec5cacce47c9714f10592d75c8fb9c63999d
Enhance python-tests to adapt different Python interpreters (bug#70815)

* test/lisp/progmodes/python-tests.el
(python-tests-get-shell-interpreter): New function to get Python
interpreter for testing; and also introduce new env variable
EMACS_PYTHON_INTERPRETER to support customer Python interpreter.

Co-authored-by: kobarity <kobarity@gmail.com>
test/lisp/progmodes/python-tests.el